<div class="form">

<?php $form=$this->beginWidget('FActiveForm', array(
	'id'=>'page-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

    <?php if (! $model->IsNewRecord) echo $form->hiddenField($model, "id") ; ?>
	
	<div class="row">
		<?php echo $form->labelEx($model,'url'); ?>
		<?php echo $form->textField($model,'url',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'url'); ?>
	</div>

	

	<div class="row">
		<?php echo $form->labelEx($model,'page_data'); ?>
		<?php echo $form->textArea($model,'page_data',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'page_data'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'revised_by'); ?>
		<?php echo $form->textField($model,'revised_by'); ?>
		<?php echo $form->error($model,'revised_by'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'creation_datetime'); ?>
		<?php echo $form->textField($model,'creation_datetime'); ?>
		<?php echo $form->error($model,'creation_datetime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'last_update'); ?>
		<?php echo $form->textField($model,'last_update'); ?>
		<?php echo $form->error($model,'last_update'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'js_files'); ?>
		<?php echo $form->textField($model,'js_files',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'js_files'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->